package com.cqut.service;

import java.util.List;
import java.util.Map;

import com.cqut.dto.JudgesManagerDTO;
import com.cqut.dto.LimitShowDTO;
import com.cqut.model.JudgesManager;

public interface IJudgesManagerService {
    boolean save(JudgesManager judgesManager);

    boolean update(JudgesManager judgesManager);

    boolean delete(String judgesId);

    boolean batchDelete(String[] primaryKeys);

    JudgesManager findModel(String judgesId);

    JudgesManager findModel(String judgesId, String[] parameters);

    Map<String, Object> findMap(String judgesId);

    Map<String, Object> findMap(String judgesId, String[][] parameters);

    List<JudgesManager> loadModels();

    List<JudgesManager> loadModels(String condition, Object[] values, String order, String sort, int curPage, int limit);

    List<JudgesManager> loadModels(String[] parameters, String condition, Object[] values, String order, String sort, int curPage, int limit);

    List<Map<String, Object>> loadMaps();

    List<Map<String, Object>> loadMaps(String condition, Object[] values, String order, String sort, int curPage, int limit);

    List<Map<String, Object>> loadMaps(String[][] parameters, String condition, Object[] values, String order, String sort, int curPage, int limit);

    long count();

    long count(String condition, Object[] values);

    long count(String[] parameters, boolean isDistinct);

    long count(String[] parameters, String condition, Object[] values, boolean isDistinct);

    long findCountOfJudges(String judgeName);
	
    List<Map<String, Object>> getEducationList();

	List<Map<String, Object>> getTitle();
	
	List<Map<String, Object>> findJudgesWithLimit(String judgesName, LimitShowDTO limitShowDTO);
}
